<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../css/mystyle.css"  medial="all" />
<script type="text/javascript">
 $(function() { 
	$("#menu-child").hide();
	$("#menu-item").mouseover(function(){
		$("#menu-child").show();	
		});
	$("#menu-item").mouseout(function(){
		//$(".boxSP").addClass("clickadd");
			$("#menu-child").hide();	
		});
	});
</script>
</head>

<body>
<div class="altcontent1"> 
		<div class="topcontent"> 	
		<?php session_start(); 
                if (isset($_SESSION['logged']))
		{
			if ($_SESSION['logged']==true)
			{ ?><p>Chào mừng <?php echo  $_SESSION['user'][1];  ?> . <a href="/cfshop/logout.php">Thoát</a><a href="/cfshop/User/change_pass.php">Đổi Mật khẩu</a>  </p></div>
			<?php }
			else  {?> <p>	<a href="/cfshop/User/v_login.php">Đăng Nhập </a>  . <a href="/cfshop/User/register.php">  Đăng Ký  </a>  </p></div><?php }
		}
		else { ?><p>	<a href="/cfshop/User/v_login.php">Đăng Nhập </a>  . <a href="/cfshop/User/register.php">  Đăng Ký  </a>  </p></div> <?php } ?><div class="cart">
			</div>
	<div class="logo" >
        <p class="p1">Cake</p><p class="p2">Flower</p>

	</div>
     <div class="search">
	 <input type="text" value="Tìm Kiếm" class="textbox-setting" onfocus="if (this.value=='Tìm kiếm') this.value='';" 
    onblur="if (this.value=='') this.value='Tìm kiếm';"   /> 
	 <input type="button" value="GO" class="buttonsearch" />
	 </div>           
      <div class=" menutop">
		
      <ul class="menu">
	  <li class="event menu-item"><a id="linkmenu"  class="button" href="/cfshop/home.php"><span class="l"></span><span class="m" >Trang Chủ</span><span class="r"></span></a></li>
	  <li class="odd menu-item" id="menu-item"><a class="button" href="../Admin/admin.php" "><span class="l"></span><span class="m" >Quản lý</span><span class="r"></span></a>
      		<ul id="menu-child">
                    <li><a href="../User/a_user.php">User &nbsp; &nbsp; &nbsp; &nbsp;</a>
			
                    </li>
                    <li><a href="../adm_Category/v_categories_manage.php">Danh mục &nbsp; &nbsp; &nbsp; &nbsp; </a>
                    </li>
                                <li><a href="../adm_Product/v_product_manage.php">Sản phẩm &nbsp; &nbsp; &nbsp; &nbsp;</a>
                    </li>
                                <li><a href="../Article/v_admArticle.php">Bài viết </a>
                    </li>
                             <li><a href="../Report/Report.php">Báo cáo thống kê</a>
                                 <ul>
                                     <li><a href="../Report/Report.php">Thống kê hoá đơn</a></li>
                                      <li><a href="../Report/ProductReport.php">Thống kê sản phẩm</a></li>
                                       <li><a href="../Report/RevenueReport.php">Thống kê doanh thu</a></li>
                                 </ul>
                    </li>
		</ul>
      </li>
	  </ul>
	</div>
	 <div class=" menutop1">
		
      <ul class="menu">
	  <li class="event menu-item"><a class="button" href="/cfshop/Article/v_Article.php"><span class="l"></span><span class="m" >Bài Viết</span><span class="r"></span></a></li>
	  <li class="odd menu-item"><a class="button" href="/gioi-thieu.php "><span class="l"></span><span class="m" >Liên Hệ</span><span class="r"></span></a></li>
	  <li class="event menu-item"><a class="button" href="/sanpham.php "><span class="l"></span><span class="m" > HƯớng dẫn</span><span class="r"></span></a></li>
	  </ul>	
	</div>	
</div>

<div id="idsearch">
    <div id="borderidsearch">
         <div id="closesearch"></div>       
        <div id="contentidsearch" >
           <div>
            <form id="searchform">
               <div>  
                    <input id="valueSearch" type="text" size="30" value="" onkeyup="ResultSearch(this.value)" />
                    <div style="color:#6C0036; margin:10px; "><span style="font-size:12px;color:#C60000">Bạn muốn tìm kiếm theo?<span>
                   <select name="selectSearch" style="font-size:14px; padding:5px; width:180px;" onchange="SearchOption(this.value)">                     
                       <option value="1">Sản phẩm khuyến mãi</option>
                       <option value="2">Top sản phẩm được bán chạy nhất</option>
                       <option value="3">Giá</option>
                   </select>
                   </div>
                       
               </div>
                <div id="suggestions"><p style="text-align: center;" id="loading"></p></div>
            </form>
            </div>
       </div>
    </div>
    </div>

</body>
</html>
